﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Abp.Application.Services;
using Abp.Application.Services.Dto;
using MyCompanyName.AbpZeroTemplate.CategoryApp.Dto;

namespace MyCompanyName.AbpZeroTemplate.CategoryApp
{
    public interface ICategoryAppService : IApplicationService
    {
        PagedResultOutput<CategoryOutput> GetCategories(GetCategoriesInput input);

        List<CategoryOutput> GetCategoriesToList();
        void CreateCategory(CreateCategoryInput input);
        void UpdateCategory(CreateCategoryInput input);

        CategoryOutput GetCategoryForEdit(EntityRequestInput input);
        void DeleteCategory(EntityRequestInput input);
    }
}
